home *** CD-ROM | disk | FTP | other *** search
- [Pocket WMP Skin File v1.0]
-
- //////////////////////////////////////////////////////////////////////////////
- //
- // Windows Media Player for Palm-size PC v1.0 Default Skin File
- //
- // This file describes the various elements that comprise the main view of
- // the WMP for P/PC. It names the various bitmap files that are used, and
- // describes the physical layout & logical function of the controls.
- //
- // Notes:
- // Lines that begin with two forward slashes and blank lines are ignored.
- // Do not use any tab characters in this file.
- // The very first line of the file must be "[Pocket WMP Skin File v1.0]".
- //
- //////////////////////////////////////////////////////////////////////////////
-
-
- //////////////////////////////////////////////////////////////////////////////
- [ Bitmaps ]
-
- // <Name> <File name> <X,Y>
- // ------ ----------- -----
- Background Background.bmp 0,0
- Disabled Disabled.bmp 40,50
- Pushed Pushed.bmp 40,50
- Region Region.bmp 40,50
- Super Super.bmp 0,0
-
- //
- // <Name> is one of { Background | Disabled | Pushed | Region | SeekThumb |
- // Super | VolumeThumb }
- //
- // <File name> is the bitmap file name as found in the skin directory (no path)
- // The file name must not include space or comma characters.
- //
- // For the disabled, pushed, and region bitmaps, { <X,Y> } represents
- // the top left corner of that bitmap relative to the background. They should
- // both be zero for other bitmaps.
- //
-
-
- //////////////////////////////////////////////////////////////////////////////
- [ Buttons ]
-
- // <Function> <Type> <Location> <Push Image Src> <Dis Image Src> <Hit R,G,B> <Norm 2 Image Src> <Push 2 Image Src>
- // ---------- ------ ---------- ---------------- --------------- ----------- ------------------ ------------------
- PlayPause 2PushHit 84,99,67,67 Pushed @ 44,50 Disabled @ 44,50 0,255,255 Pushed @ 160,5 Pushed @ 160,98
- Info PushHit 97,49,43,43 Pushed @ 57,0 Disabled @ 57,0 0, 0, 0
- Stop PushHit 97,173,43,43 Pushed @ 57,124 Disabled @ 57,124 255,255, 0
- Prev PushHit 40,83,43,43 Pushed @ 0,34 Disabled @ 0,34 0, 0,255
- Next PushHit 153,83,43,43 Pushed @ 113,34 Disabled @ 113,34 255, 0, 0
- Shuffle ToggleHit 40,136,43,43 Pushed @ 0,87 Disabled @ 0,87 0,255, 0
- Repeat ToggleHit 153,136,43,43 Pushed @ 113,87 Disabled @ 113,87 255, 0,255
- Mute Toggle 5,220,24,23 Super @ 247,29 Super @ 4,28 0, 0, 0
-
- //
- // <Function> is one of { Play | Pause | Stop | Prev | Next | Shuffle | Repeat | Mute |
- // PlayPause | Info }
- //
- // <Type> is one of { Push | Toggle | 2Push | PushHit | ToggleHit | 2PushHit }
- // PushHit, 2PushHit, and ToggleHit buttons are hit tested by color against the Region
- // bitmap, while Push, 2Push, and Toggle buttons use their location rectangle
- //
- // <Location> is { left, top, width, height } for the button rectangle in the UI
- //
- // <Push Image Src> picks one of the bitmaps by name as the source for the pushed image
- // and describes the top left corner for the pushed button within the image
- //
- // <Dis Image Src> picks one of the bitmaps by name as the source for the disabled image
- // and describes the top left corner for the disabled button within the image
- //
- // <Hit R,G,B> gives the hit test color (0,0,0 for Push or Toggle)
- //
- // <Norm 2 Image Src> picks one of the bitmaps by name as the source for the secondary
- // normal image for a 2Push or 2PushHit button and describes the top left corner of
- // the button within the image
- //
- // <Push 2 Image Src> picks one of the bitmaps by name as the source for the secondary
- // pushed image for a 2Push or 2PushHit button and describes the top left corner of
- // the button within the image
- //
-
- //////////////////////////////////////////////////////////////////////////////
- [ Text ]
-
- // <Item> <Location> <Align> <Font> <Color>
- // ------ ---------- ------- ------ -------
- Time 180,46,50,30 Right Tahoma,16,N 255,255,255
- Playlist 3,46,175,20 Left Tahoma,10,N 255,255,255
- Track# 10,68,40,20 Left Tahoma,14,N 255,255,255
-
- //
- // <Item> is one of { Time | Track# | #Tracks | Title | Author | Copyright |
- // Filename | FilenameExt | Bitrate | Frequency | Playlist }
- //
- // <Location> is { left, top, width, height } for the text rectangle in the UI
- //
- // <Align> is one of { Left | Center | Right }, specifying the text alignment in
- // the given rectangle.
- //
- // <Font> gives the font face name, point size, and weight (as { B | N } -
- // bold or normal, respectively).
- //
- // <Color> specifies the text foreground color. All text is transparent at this point.
- //
-
-
- //////////////////////////////////////////////////////////////////////////////
- [ Marquis ]
-
- // <Location> <Font> <Color> <Text item combinations>
- // ---------- ------ ------- ------------------------
- 3,2,234,20 Tahoma,12,N 255,0,0 Title+Author, Title, Filename
-
- //
- // <Location> is { left, top, width, height } for the marquis rectangle in the UI
- //
- // <Font> gives the font face name, point size, and weight (as { B | N } -
- // bold or normal, respectively).
- //
- // <Color> specifies the text foreground color. All text is transparent at this point.
- //
- // <Text item combinations> lists the possible choices for sets of text items to
- // be scrolled through the marquis (if the text doesn't fit). Each comma-delimited
- // set of text item names (see <Item> in the [Text] section) is evaluated to see
- // if all text items are available for the current track. The first combination
- // in which all text items are present is used. The names of text items in each
- // combination should be concatenated using a plus character, but no space characters.
- //
-
-
- //////////////////////////////////////////////////////////////////////////////
- [ Trackbars ]
-
- // <Function> <Location> <Dis Image Src> <Thumb Image Src> <Thumb Size>
- // ---------- ---------- --------------- ----------------- ------------
- Seek 5,25,226,17 Super @ 4,1 SeekThumb.bmp 18,17
- Volume 32,220,172,23 Super @ 32,27 VolumeThumb.bmp 23,22
-
- //
- // <Function> is either Volume or Seek
- //
- // <Location> is { left, top, width, height } for the track bar rectangle in the UI
- //
- // <Dis Image Src> picks one of the bitmaps by name as the source for the disabled
- // image and describes the top left corner of the disabled track bar within the image
- //
- // <Thumb Image Src> gives the filename of a bitmap containing the normal and pushed
- // overlay thumb images
- //
- // <Thumb Size> gives the width and height of each thumb image
- //
-